<?php
/**
 * The template for Header.
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>><head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php if (is_search()) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
<title>
<?php
		      if (function_exists('is_tag') && is_tag()) {
		         single_tag_title("Tag Archive for &quot;"); echo '&quot; - '; }
		      elseif (is_archive()) {
		         wp_title(''); echo ' Archive - '; }
		      elseif (is_search()) {
		         echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; }
		      elseif (!(is_404()) && (is_single()) || (is_page())) {
		         wp_title(''); echo ' - '; }
		      elseif (is_404()) {
		         echo 'Not Found - '; }
		      if (is_home()) {
		         bloginfo('name'); echo ' - '; bloginfo('description'); }
		      else {
		          bloginfo('name'); }
		      if ($paged>1) {
		         echo ' - page '. $paged; }
		   ?>
</title>

<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri() ?>/images/favicon.ico" type="image/x-icon" />

<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ?>/css/<?php echo of_get_option('width_images', 'no entry' ); ?>.min.css" type="text/css" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head><body <?php body_class(); ?>>
<div class="<?php echo of_get_option('edge_softness', 'no entry'); ?> <?php echo of_get_option('navigation_options', 'no entry'); ?>" id="options-wrapper"> 
<div id="" class="container_12">
<div id="header" class="container_12">
  <div class="grid_9">
    <img id="logo" src="<?php bloginfo('template_directory'); ?>/images/logo.png">
    <h1><a href="<?php echo home_url(); ?>/">
    <?php bloginfo('name'); ?>
    </a></h1>
    <div class="description">
    <?php bloginfo('description'); ?>
    </div>
  </div>
</div>
<div id="navigation" class="container_12">
  <?php wp_nav_menu(); ?>  <div id="search" class="grid_3">
    <?php get_search_form(); ?>
  </div>
</div>
